package
{
	import flash.display.Sprite;

	public class Util
	{
		
		public function Util()
		{
		}
		
		
		public static function getRectSprite(width:int,height:int,color:uint=0x000000,alpha:Number=1.0,x:int=0,y:int=0,spriteToRedraw:Sprite=null):Sprite{
			var rect:Sprite = (spriteToRedraw) ? spriteToRedraw : new Sprite();
			rect.graphics.clear();
			rect.graphics.beginFill(color, alpha);
			rect.graphics.drawRect(x,y,width,height);
			rect.graphics.endFill()
			return rect;
		}		
	}
}